//
//  main.m
//  继承基本概念
//
//  Created by 郭志远 on 2023/12/6.
//

#import <Foundation/Foundation.h>
#import "Iphone.h"
#import "Android.h"

int main(int argc, const char * argv[]) {
    Iphone *p = [Iphone new];
    [p signalWithNumber:@"123123"];
    Android *a = [Android new];
    [a signalWithNumber:@"12312123"];
    [Iphone brand];
    [Android brand];
    [p setCpu:12];
    NSLog(@"cpu%i", p.cpu);
    return 0;
}
